Repository navigation
add testID to chat title for applause automation - #34858
Conversation
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
|
@hayata-suenaga Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@gireinvent can you sign the CLA as instructed in this comment? You just have to post a comment. |
|
@hayata-suenaga Whats up with these so many failing checks? |
|
@gireinvent Can you please fix lint issues? |
|
Bump on above @gireinvent. Also, @hayata-suenaga can you please add me as a reviewer here so that I can track this? |
|
I have read the CLA Document and I hereby sign the CLA |
|
Actually, not 100% sure if we need C+ here. Let me get back to you @allroundexperts |
|
@gireinvent did you get a chance to see Rory's comment on Slack about passing the test ID to native components? do you have any idea why the tests are failing here? |
|
@hayata-suenaga I do not have access to that slack space. |
|
ah sorry about that 🙇 here is the copy of the message
|
|
@hayata-suenaga I have added testids as per rory's suggestion. I am not sure why tests are failing as i have only added test id's there should be no changes to behavior. |
|
did you add IDs to root components/elements? |
|
@roryabraham if you could help us here a little bit, I'd appreciate it 🙇 |
Yes i added to the root components which are implementing native react components |
|
@gireinvent by the way, could you link the GH issue for this PR in the original post? There is a section called |
|
@allroundexperts do you have an idea why these tests are failing? |
|
@hayata-suenaga I think the following explains why the above are failing:
|
|
could you check the points by @allroundexperts and fix the issues? |
roryabraham
left a comment
There was a problem hiding this comment.
Also pay attention to the other failing typescript errors (you can check these locally by running npm run typecheck after running npm install once).
You made testID a required prop of the DisplayNames component, but failed to provide that prop in many places where it was used.
There was a problem hiding this comment.
const displayName = 'DisplayNamesTooltipItem';
function DisplayNamesTooltipItem({
...
testID = displayName,
}): DisplayNameTooltipItemProps) {
...
}
DisplayNameTooltipItem.displayName = displayName;There was a problem hiding this comment.
Removed the testID prop as it is no longer needed
|
I can take this over and do the changes if needed. |
|
@roryabraham Yeah i realized this after submitting PR, i am making changes actively but its taking time as it has to change in multiple places. |
|
@gireinvent feel free to ping me when this is ready for review again. in the meantime, I'm going to mark it as |
|
I checked all the items on the checklist, looks like checklist is passing now. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
There appear to be some unsigned commits. |
e27c94d to
b8eb63e
Compare
|
i rebased and force pushed commits as per @roryabraham suggestion. |
|
@hayata-suenaga is the PR good to merge? |
gireinvent
left a comment
There was a problem hiding this comment.
commit after rebase
b8eb63e to
301fbd1
Compare
roryabraham
left a comment
There was a problem hiding this comment.
@gireinvent getting closer – you need to rebase onto main, squashing all your commits into a single, signed commit. Then you can force-push to replace the 6 commits from this branch with a single, signed commit:
3d4ad92 to
7d27853
Compare
There was a problem hiding this comment.
@gireinvent still have unverified commits here. Try this:
# This rewinds 5 commits in the history, keeping your latest changes
git reset --soft HEAD~5
# This adds a new commit, overwriting the commits you rewinded past
git commit -m "Add testID to DisplayNamesWithTooltips"
# Then push your changes to the remote branch
git push origin addtestIds_applause7d27853 to
fca8eb5
Compare
fca8eb5 to
f9ec12f
Compare
|
@roryabraham Narrowed it down to one commit. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 1.4.40-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.40-5 🚀
|





Details
Fixed Issues
$
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop